home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / mach2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  2.0 KB  |  64 lines

  1. /* Definitions for Emacs running on Mach version 2 (non-kernelized system).
  2.    Copyright (C) 1990 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29 and Emacs for NeXTstep 4.1. */
  21.  
  22. #include "bsd4-3.h"
  23.  
  24. /* SYSTEM_TYPE should indicate the kind of system you are using.
  25.  It sets the Lisp variable system-type.  We'll need to undo the bsd one. */
  26.  
  27. #undef SYSTEM_TYPE
  28. #define SYSTEM_TYPE "next-mach"
  29.  
  30. #ifdef __GNUC__
  31. #define C_SWITCH_SYSTEM -pipe
  32. /* XEmacs change:  this is rude. */
  33. /* #define C_OPTIMIZE_SWITCH -O2 */
  34. #endif
  35.  
  36. #ifdef HAVE_NEXTSTEP
  37. #define LD_SWITCH_SYSTEM -X -noseglinkedit -sectcreate __ICON __header ${srcdir}/emacs.iconheader -segprot __ICON r r 
  38. #else
  39. #define LD_SWITCH_SYSTEM -X -noseglinkedit
  40. #endif
  41.  
  42. /* Don't use -lc on the NeXT.  */
  43. #define LIB_STANDARD
  44. #define LIB_MATH
  45.  
  46. /* #define environ _environ */
  47.  
  48. #define START_FILES pre-crt0.o
  49. #define UNEXEC unexnext.o
  50.  
  51. /* start_of_text isn't actually used, so make it compile without error.  */
  52. #define TEXT_START 0
  53. /* This seems to be right for end_of_text, but it may not be used anyway.  */
  54. #define TEXT_END get_etext ()
  55. /* This seems to be right for end_of_data, but it may not be used anyway.  */
  56. #define DATA_END get_edata ()
  57.  
  58. /* Defining KERNEL_FILE causes lossage because sys/file.h
  59.    stupidly gets confused by it.  */
  60. #undef KERNEL_FILE
  61. #ifndef THIS_IS_YMAKEFILE
  62. #include <time.h>
  63. #endif /* THIS_IS_YMAKEFILE */
  64.